package com.guigu.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.erp.pojo.StorageGather;
import com.guigu.erp.pojo.StoragePay;
import org.apache.ibatis.annotations.Select;

public interface StoragePayMapper extends BaseMapper<StoragePay> {
    /**
     * 查询ID最大的入库单信息
     * @return
     */
    @Select("SELECT * FROM S_PAY WHERE ID = (SELECT MAX(id) from S_PAY)")
    StoragePay queryMaxModule();
}
